import Vue from "vue";
import Router from "vue-router";
Vue.use(Router);
export default new Router({
    routes: [
        { path: '/', redirect: '/login' },
        {
            path: '/login',
            component: () =>
                import ('@/views/Login.vue')
        },
        {
            path: "/home",
            component: () =>
                import ("@/views/Home.vue"),
            // redirect: "/Image_scoring_standard",
            children: [{
                    path: "/Image_scoring_standard",
                    component: () =>
                        import ("@/views/Radiation_quality_control_management/Image_scoring_standard.vue"),
                    meta: { title: "影像评分标准" },
                },
                {
                    path: "/Image_scoring_standard_of_ultrasound_department",
                    component: () =>
                        import ("@/views/Radiation_quality_control_management/Image_scoring_standard_of_ultrasound_department.vue"),
                    meta: { title: "超声科图像评分标准" },
                },
                {
                    path: "/Image_statistics",
                    component: () =>
                        import ("@/views/Radiation_quality_control_management/Image_statistics.vue"),
                    meta: { title: "影像/超声质量统计" },
                },
                {
                    path: "/Image_statistics_query",
                    component: () =>
                        import ("@/views/Radiation_quality_control_management/Image_statistics_query.vue"),
                    meta: { title: "影像/超声质量统计" },
                },
                {
                    path: "/Inspection_appointment",
                    component: () =>
                        import ("@/views/make_an_appointment/Inspection_appointment.vue"),
                    meta: { title: "检查检验预约" },
                },
                {
                    path: "/Inspection_application",
                    component: () =>
                        import ("@/views/make_an_appointment/Inspection_application.vue"),
                    meta: { title: "检查检验预约" },
                }
            ],
        },
    ],
});